package _220318;

/**
 * @author ShadowLim
 * @create 2022-03-18-8:59
 */
public class _求值 {

    public static void main(String[] args) {
        int ans = 100;
        while (true) {
            int cnt = getCnt(ans);
            if (cnt == 100) {
                System.out.println(ans);
                break;
            }
            ans++;
        }
    }


    /**
     * 因子个数
     * @param n
     * @return
     */
    private static int getCnt(int n) {
        int cnt = 0;
        int x = (int)Math.sqrt(n);
        if (x * x == n) {
            cnt++;
        }
        for (int i = 1; i < x; i++) {
            if (n % i == 0) {
                cnt += 2;
            }
        }
        return cnt;
    }
}
